package main

import "fmt"

type student struct {
	name string
	age  int
}

func creat(stus *[]student) *[]student {
	return stus
}

func main() {

	m := []student{
		{"张三", 24},
		{"李四", 22},
	}

	for _, v := range *creat(&m) {
		fmt.Printf("%d,%s,%d", v.name, v.age)
	}
}
